/*
 * Copyright (C) 2020  FunGuide, Inc. All Rights Reserved.
 */


package com.taiji.order.feign;

import com.taiji.order.model.Product;
import org.springframework.stereotype.Component;

/**
 * Simple to Introduction
 * className: ProductFeignClientCallBack
 *
 * @author yanxw
 * @version 2020/5/21 16:14
 */

@Component
public class ProductFeignClientCallBack implements ProductFeignClient{

    @Override
    public Product findById(Long id) {
        Product product = new Product();
        product.setProductName("feign调用触发熔断降级方法");
        return product;
    }
}

